package com.hoshiicloud.goods.entity.spu;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品属性组
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("spu_properties_values")
public class SpuPropertiesValues implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private Long id;

    /**
    * spu id
    */
    @TableField("spu_id")
    private Long spuId;


    /**
    * 属性id
    */
    @TableField("property_id")
    private Long propertyId;


    /**
    * 属性值 goods_properties_sets
    */
    @TableField("value")
    private Long value;


    /**
    * 创建时间
    */
    @TableField("created_time")
    private LocalDateTime createdTime;


    /**
    * 修改时间
    */
    @TableField("updated_time")
    private LocalDateTime updatedTime;


    /**
    * 创建人
    */
    @TableField("created_by")
    private String createdBy;


    /**
    * 修改人
    */
    @TableField("updated_by")
    private String updatedBy;



}
